/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module Operate.h - Header file for operation functions |
   @end

$Log: /SoftPay/SPK2SIM/Source/Include/operate.h $
 *
 * 14    3/17/00 4:43p Page_k1
 * Add fDisplayFlag and control diplay of delete batch messages.
 *
 * 13    3/05/00 11:13p Jim_b4
 * Code Security scheme added to each significant source file
 *
 * 12    1/25/00 2:16p Kevin_v1
 * Added new Edit Tables Operation to  Other Setup menu on IPSX host to
 * allow any table to be edited.
 *
 * 11    11/03/99 10:50a Kevin_v1
 * Update BATCH_DEFINED
 *
 * 10    11/02/99 4:29p Kevin_v1
 * Move Transaction Message from TRT to Menu file.  Implement Menu
 * redisplay flag and multiple line menu messages
 *
 * 9     11/02/99 1:26p Monique_b1
 * Removed unused functions
 *
 * 8     10/25/99 4:51p Gary_w2
 * Modified for clerk module
 *
 * 6     10/20/99 10:39a Kevin_v1
 * Implemented IDLE_LOOP_OPERATION
 *
 * 5     10/18/99 3:12p Angela_s1
 * Added parameter to inClrBatch() for single batch.
 *
 * 4     10/12/99 5:08p Kevin_v1
 * Remove references to SUSPEND code
 *
 * 3     10/07/99 12:05p Kevin_v1
 *
 * 2     9/08/99 2:15p Kevin_v1
 * Move batch functions from OPERATE.C to BATCH.C & SETTLBAT.C
 *
 * 1     7/19/99 5:41p Jim_b4
 *
 * 1     7/19/99 4:21p Jim_b4
 *
 * 6     6/24/99 4:13p Nick_t1
 *
 * 5     6/17/99 9:21a Nick_t1
 *
 * 4     6/11/99 11:23a Nick_t1
 *
 * 3     6/09/99 4:32p Nick_t1
 *
 * 2     6/09/99 11:19a Monique_b1
 * Change headers and file names for SP 2000
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/
#ifndef VSOPER_H
#define VSOPER_H

extern void vdDisplayNoSettleMsg(long lnMsgID);
int inFullDownloadOperation (TRANSACTION_OBJECT *pobTran);
int inPartDownloadOperation (TRANSACTION_OBJECT *pobTran);
void vdDisplayNoSettleMsg(long lnMsgID);
int inLockOperation (TRANSACTION_OBJECT *pobTran);
int inAboutFileProcessing(TRANSACTION_OBJECT *pobTran);
int inDateTimeOperation(TRANSACTION_OBJECT *pobTran);
int inDemoTrainOperation(TRANSACTION_OBJECT *pobTran);
int inInitOper (int inOperationCode, int inSubOperationCode, TRANSACTION_OBJECT *pobTran);
TRANSACTION_OBJECT * pstGet_pobTran (void);
TRANSACTION_OBJECT * pstGetSet_pobTran (TRANSACTION_OBJECT * pstTranObject, int inMode, int *pinResult);
int inOperations (int inOperationCode, int inSubOperationCode, long lnTranMsg);
int inCallZontalk(char chZonType);

int inDeleteOpenTabBatch (TRANSACTION_OBJECT *pobTran);
int inDeleteAllBatches (TRANSACTION_OBJECT *pobTran);
int inLangSetOperation(TRANSACTION_OBJECT *pobTran);
int	inRunOperation (TRANSACTION_OBJECT *pobTran, int inOperation);
int inEditTables (TRANSACTION_OBJECT *pobTran);
int	inNotAvailableOperation(TRANSACTION_OBJECT *pobTran);
int OPERATE_CODE_CHECK(char * a,char *b,short *  c,char * d,unsigned char * e);
extern long _heap_max( void );
extern long _stack_max( void );
extern int inLoadOPTRec (int inOperationCode);

#endif
